﻿using ProjectManageSystemApi.Models;
using System;
using System.Collections.Generic;

namespace ProjectManageSystemApi.Services
{
    public interface IUserCheckInfoService
    {
        bool UserClockIn(UserClockInRequest data);
        bool UserClockOut(UserClockInRequest data);
        bool ExistUserClockIn(long UserId, DateTime date);
        bool ExistUserClockOut(long UserId, DateTime date);
        List<UserCheckDto> GetUserCheckInfoByMonth(long userId, DateTime startTime, DateTime endTime);
        PageVo<IEnumerable<UserCheckInfoDto>> GetAllUserCheckInfo(PageBo<UserCheckInfoParams> pageBo);
        uint GetIdByUserIdAndBelongsDate(long userId, DateTime belongsDate);
    }
}
